﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Create.aspx.cs" Inherits="CustomerContactSystem.WebForms.Customers.Create" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<h1>Create Customer</h1>
<asp:HyperLink ID="ReturnToSearchLink" runat="server" Text="Return to Search Results" CssClass="button"></asp:HyperLink>
<fieldset>
    <legend>Customer Details</legend>
    
    <asp:Label ID="FirstNameCaption" runat="server" Text="First Name:" AssociatedControlID="FirstName"></asp:Label>
    <asp:TextBox ID="FirstName" runat="server" MaxLength="100"></asp:TextBox>
    
    <asp:Label ID="SecondNameCaption" runat="server" Text="Second Name:" AssociatedControlID="SecondName"></asp:Label>
    <asp:TextBox ID="SecondName" runat="server" MaxLength="100"></asp:TextBox>

    <asp:Label ID="Address1Caption" runat="server" Text="Address 1:" AssociatedControlID="Address1"></asp:Label>
    <asp:TextBox ID="Address1" runat="server" MaxLength="100"></asp:TextBox>
    
    <asp:Label ID="Address2Caption" runat="server" Text="Address 2:" AssociatedControlID="Address2"></asp:Label>
    <asp:TextBox ID="Address2" runat="server" MaxLength="100"></asp:TextBox>
    
    <asp:Label ID="Address3Caption" runat="server" Text="Address 3:" AssociatedControlID="Address3"></asp:Label>
    <asp:TextBox ID="Address3" runat="server" MaxLength="50"></asp:TextBox>
    
    <asp:Label ID="Address4Caption" runat="server" Text="Address 4:" AssociatedControlID="Address4"></asp:Label>
    <asp:TextBox ID="Address4" runat="server" MaxLength="50"></asp:TextBox>
    
    <asp:Label ID="Address5Caption" runat="server" Text="Address 5:" AssociatedControlID="Address5"></asp:Label>
    <asp:TextBox ID="Address5" runat="server" MaxLength="50"></asp:TextBox>
        
    <asp:Label ID="EmailCaption" runat="server" Text="Email:" AssociatedControlID="Email"></asp:Label>
    <asp:TextBox ID="Email" runat="server" MaxLength="250"></asp:TextBox>
    
    <asp:Label ID="PhoneCaption" runat="server" Text="Phone:" AssociatedControlID="Phone"></asp:Label>
    <asp:TextBox ID="Phone" runat="server" MaxLength="50"></asp:TextBox>
    
    <asp:Label ID="FaxCaption" runat="server" Text="Fax:" AssociatedControlID="Fax"></asp:Label>
    <asp:TextBox ID="Fax" runat="server" MaxLength="50"></asp:TextBox>
    
    <asp:Label ID="ContactableCaption" runat="server" Text="Contactable (for feedback)?:" AssociatedControlID="Contactable"></asp:Label>
    <asp:CheckBox ID="Contactable" runat="server" />
    
    <asp:Label ID="FlaggedCaption" runat="server" Text="Flagged (as troublesome)?:" AssociatedControlID="Flagged"></asp:Label>
    <asp:CheckBox ID="Flagged" runat="server" />
    
    <asp:Button ID="CreateNewCustomer" runat="server" Text="Create New Customer" CssClass="submit" OnClick="CreateNewCustomerClick" />
    <asp:Label ID="CreateNewCustomerResultMessage" runat="server" CssClass="error"></asp:Label>
</fieldset>    
</asp:Content>
